export class Washer {
  public selected: boolean;
  constructor(public id: number,
              public firstName: string,
              public lastName: string,
              public nickName: string,
              public phoneNumber: string,
              public openId: string,
              public identityId: string,
              public gender: string,
              public levelId: string,
              public level: string,
              public busy: boolean) {
  }
}

export class WasherOpenId {
  constructor(public phoneNumber: string,
              public openId: string) {
  }
}

export class WasherToAdd {
  constructor(public validId: string,
              public nickName: string,
              public lastName: string,
              public firstName: string,
              public phoneNumber: string,
              public age: number,
              public identityId: string) {}
}

export class WasherToUpdate {
  constructor(public id: number,
              public nickName: string,
              public firstName: string,
              public lastName: string,
              public phoneNumber: string,
              public identityId: string,
              public gender: string,
              public levelId: string,
              public isBusy: boolean) {}
}
